<?php
class IndexController extends mcz_Controller
{
	public function __construct()
	{
		if(!$_SESSION['obj']->isAuth())
		{
			header('location: ' . mczURL('/auth'));
			die;
		}
		$this->setLayout('layout');
	}

	public function indexAction()
	{
		$this->display('index');
	}
}